@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Onest:wght@300;500&display=swap');

:root {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

html {
    font-size: 16px;
    font-family: "Amatic SC", sans-serif;
    font-weight: 400;
}

body, html {
    margin: 0;
}

.btn.btn-add {
    padding: .5rem 2rem;
    border-radius: .5rem;
    background-color: bisque;
    font-size: 1.5rem;
    color: #000;
    font-weight: 700;
    border: none;
}

body {
    width: 100%;
    background: rgb(255, 163, 58);
    overflow-y: auto;
    margin: 0;
}

.background {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1rem;
    margin: 2rem 0 0;
}

.dashboard {
    background-color: bisque;
    min-width: 30vw;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    margin-bottom: 2rem;
}

.dash-item {
    display: flex;
    border-bottom: 1px solid #3e3e3e;
    overflow-x: hidden;
}

.dash-item:last-child {
    border-bottom: none;
    border-bottom-right-radius: 1rem;
}

.dash-item input {
    margin: 1rem;
}

.dash-item p {
    margin: 0;
    padding: 0 1rem;
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 200;
    flex: 1;
    color: black;
    border-left: 1px solid #a5360b;
    transition: background-color .2s;
}

.dash-item button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #a5360b;
    transition: background-color .2s;
}

.dash-item input:checked + p,
.dash-item input:checked ~ button {
    background-color: rgba(0, 0, 0, .2);
}

.dash-item input:checked + p {
    text-decoration: line-through;
}